from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^register/$', views.RegisterView.as_view(), name='register'),
    url(r'^usernames/(?P<username>[a-zA-Z0-9_-]{5,20})/$'
        ,views.RegisterUsernameCountView.as_view(), name='RegisterUsernameCountView'),
    url(r'^mobile/(?P<mobile>1[3-9]\d[0-9]{9})/$', views.RegisterMobileCountView.as_view(), name='RegisterMobileCountView'),
]